Skip to content

feat(taskprocessing): add edit image task - #64028

Merged
lukasdotcom merged 1 commit into
masterfrom
task/edit-image
Sep 8, 2026
Merged

feat(taskprocessing): add edit image task#64028
lukasdotcom merged 1 commit into
masterfrom
task/edit-image

Conversation

@lukasdotcom

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

Task type for editing images used by text2image_flux and nextcloud/integration_openai#423

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@lukasdotcom lukasdotcom added this to the Nextcloud 36 milestone Sep 4, 2026
@lukasdotcom
lukasdotcom requested a review from a team as a code owner September 4, 2026 19:09
@lukasdotcom
lukasdotcom requested review from come-nc, kyteinsky, leftybournes, marcelklehr, provokateurin and sorbaugh and removed request for a team September 4, 2026 19:09
@susnux susnux changed the title feat: add edit image task feat(taskprocessing): add edit image task Sep 4, 2026
/**
* @since 36.0.0
*/
public const ID = 'core:image2image';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public const ID = 'core:image2image';
public const string ID = 'core:image2image';

Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
'output' => new ShapeDescriptor(
$this->l->t('Output image'),
$this->l->t('The edited image'),
EShapeType::Image

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Multiple input images but only one output image?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is in case you want to combine images. For example you have a picture of a cat and one of a hat and want the output to be the cat with that specific hat. Might make sense to have multiple output images, but I wrote all the implementations with one output image.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, just thought it might have been an oversight :)

@lukasdotcom
lukasdotcom merged commit 46cf643 into master Sep 8, 2026
153 checks passed
@lukasdotcom
lukasdotcom deleted the task/edit-image branch September 8, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants